projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cecd20b
)
Don't prefer empty notes.
author
robertl
<robertl>
Thu, 8 Jan 2004 03:29:24 +0000
(
03:29
+0000)
committer
robertl
<robertl>
Thu, 8 Jan 2004 03:29:24 +0000
(
03:29
+0000)
gpx.c
patch
|
blob
|
history
diff --git
a/gpx.c
b/gpx.c
index 95c3be0e78f8d507579ace402b4b2f343a4c1fe0..c989e74df88aa9256d6a3eee4b6b176dd71f279d 100644
(file)
--- a/
gpx.c
+++ b/
gpx.c
@@
-963,7
+963,7
@@
gpx_waypt_pr(const waypoint *waypointp)
}
write_optional_xml_entity(ofd, " ", "name", oname);
write_optional_xml_entity(ofd, " ", "cmt", waypointp->description);
- if (waypointp->notes)
+ if (waypointp->notes
&& waypointp->notes[0]
)
write_xml_entity(ofd, " ", "desc", waypointp->notes);
else
write_optional_xml_entity(ofd, " ", "desc", waypointp->description);